




//
//  PriceSearchView.m
//  住房条件帅选器
//
//  Created by MB__Lee on 2018/5/16.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "PriceSearchView.h"

@interface PriceSearchView()
@property (weak, nonatomic) IBOutlet UITextField *searchField;


@end


@implementation PriceSearchView
-(void)awakeFromNib{
    [super awakeFromNib];
    self.searchField.placeholder = @"最低价格";
}


- (IBAction)searchButton:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(PriceSearchView:sendMinPrice:)]) {
        [self.delegate PriceSearchView:self sendMinPrice:self.searchField.text];
    }
    
}


@end
